package hu.bme.mit.androtext.androgui.parser.antlr.internal; 

import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
import hu.bme.mit.androtext.androgui.services.AndroGuiDslGrammarAccess;



import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;

@SuppressWarnings("all")
public class InternalAndroGuiDslParser extends AbstractInternalAntlrParser {
    public static final String[] tokenNames = new String[] {
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "'absolutelayout'", "'{'", "'}'", "'linearlayout'", "'horizontal'", "'vertical'", "'framelayout'", "'relativelayout'", "'textview'", "'edittext'", "'button'", "'listview'", "'entries'", "'listitem'", "'spinner'", "'checkbox'", "'radiogroup'", "'ratingbar'", "'togglebutton'", "'textOn'", "'textOff'", "'radiobutton'", "'preferencescreen'", "'import'", "'.'", "'.*'", "'fill'", "'wrap'", "'fill&wrap'", "'wrap&fill'"
    };
    public static final int RULE_ID=4;
    public static final int T__40=40;
    public static final int T__41=41;
    public static final int T__29=29;
    public static final int T__28=28;
    public static final int T__27=27;
    public static final int T__26=26;
    public static final int T__25=25;
    public static final int T__24=24;
    public static final int T__23=23;
    public static final int T__22=22;
    public static final int RULE_ANY_OTHER=10;
    public static final int T__21=21;
    public static final int T__20=20;
    public static final int RULE_SL_COMMENT=8;
    public static final int EOF=-1;
    public static final int RULE_ML_COMMENT=7;
    public static final int T__30=30;
    public static final int T__19=19;
    public static final int T__31=31;
    public static final int RULE_STRING=5;
    public static final int T__32=32;
    public static final int T__33=33;
    public static final int T__16=16;
    public static final int T__34=34;
    public static final int T__15=15;
    public static final int T__35=35;
    public static final int T__18=18;
    public static final int T__36=36;
    public static final int T__17=17;
    public static final int T__37=37;
    public static final int T__12=12;
    public static final int T__38=38;
    public static final int T__11=11;
    public static final int T__39=39;
    public static final int T__14=14;
    public static final int T__13=13;
    public static final int RULE_INT=6;
    public static final int RULE_WS=9;

    // delegates
    // delegators


        public InternalAndroGuiDslParser(TokenStream input) {
            this(input, new RecognizerSharedState());
        }
        public InternalAndroGuiDslParser(TokenStream input, RecognizerSharedState state) {
            super(input, state);
             
        }
        

    public String[] getTokenNames() { return InternalAndroGuiDslParser.tokenNames; }
    public String getGrammarFileName() { return "../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g"; }



     	private AndroGuiDslGrammarAccess grammarAccess;
     	
        public InternalAndroGuiDslParser(TokenStream input, AndroGuiDslGrammarAccess grammarAccess) {
            this(input);
            this.grammarAccess = grammarAccess;
            registerRules(grammarAccess.getGrammar());
        }
        
        @Override
        protected String getFirstRuleName() {
        	return "AndroGuiModelRoot";	
       	}
       	
       	@Override
       	protected AndroGuiDslGrammarAccess getGrammarAccess() {
       		return grammarAccess;
       	}



    // $ANTLR start "entryRuleAndroGuiModelRoot"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:68:1: entryRuleAndroGuiModelRoot returns [EObject current=null] : iv_ruleAndroGuiModelRoot= ruleAndroGuiModelRoot EOF ;
    public final EObject entryRuleAndroGuiModelRoot() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleAndroGuiModelRoot = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:69:2: (iv_ruleAndroGuiModelRoot= ruleAndroGuiModelRoot EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:70:2: iv_ruleAndroGuiModelRoot= ruleAndroGuiModelRoot EOF
            {
             newCompositeNode(grammarAccess.getAndroGuiModelRootRule()); 
            pushFollow(FOLLOW_ruleAndroGuiModelRoot_in_entryRuleAndroGuiModelRoot75);
            iv_ruleAndroGuiModelRoot=ruleAndroGuiModelRoot();

            state._fsp--;

             current =iv_ruleAndroGuiModelRoot; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleAndroGuiModelRoot85); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleAndroGuiModelRoot"


    // $ANTLR start "ruleAndroGuiModelRoot"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:77:1: ruleAndroGuiModelRoot returns [EObject current=null] : (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_imports_2_0= ruleImport ) )* ( (lv_rootLayout_3_0= ruleRootLayout ) )* ) ;
    public final EObject ruleAndroGuiModelRoot() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        AntlrDatatypeRuleToken lv_name_1_0 = null;

        EObject lv_imports_2_0 = null;

        EObject lv_rootLayout_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:80:28: ( (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_imports_2_0= ruleImport ) )* ( (lv_rootLayout_3_0= ruleRootLayout ) )* ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:81:1: (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_imports_2_0= ruleImport ) )* ( (lv_rootLayout_3_0= ruleRootLayout ) )* )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:81:1: (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_imports_2_0= ruleImport ) )* ( (lv_rootLayout_3_0= ruleRootLayout ) )* )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:81:3: otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) ( (lv_imports_2_0= ruleImport ) )* ( (lv_rootLayout_3_0= ruleRootLayout ) )*
            {
            otherlv_0=(Token)match(input,11,FOLLOW_11_in_ruleAndroGuiModelRoot122); 

                	newLeafNode(otherlv_0, grammarAccess.getAndroGuiModelRootAccess().getPackageKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:85:1: ( (lv_name_1_0= ruleQualifiedName ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:86:1: (lv_name_1_0= ruleQualifiedName )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:86:1: (lv_name_1_0= ruleQualifiedName )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:87:3: lv_name_1_0= ruleQualifiedName
            {
             
            	        newCompositeNode(grammarAccess.getAndroGuiModelRootAccess().getNameQualifiedNameParserRuleCall_1_0()); 
            	    
            pushFollow(FOLLOW_ruleQualifiedName_in_ruleAndroGuiModelRoot143);
            lv_name_1_0=ruleQualifiedName();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getAndroGuiModelRootRule());
            	        }
                   		set(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"QualifiedName");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:103:2: ( (lv_imports_2_0= ruleImport ) )*
            loop1:
            do {
                int alt1=2;
                int LA1_0 = input.LA(1);

                if ( (LA1_0==35) ) {
                    alt1=1;
                }


                switch (alt1) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:104:1: (lv_imports_2_0= ruleImport )
            	    {
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:104:1: (lv_imports_2_0= ruleImport )
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:105:3: lv_imports_2_0= ruleImport
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getAndroGuiModelRootAccess().getImportsImportParserRuleCall_2_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleImport_in_ruleAndroGuiModelRoot164);
            	    lv_imports_2_0=ruleImport();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getAndroGuiModelRootRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"imports",
            	            		lv_imports_2_0, 
            	            		"Import");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop1;
                }
            } while (true);

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:121:3: ( (lv_rootLayout_3_0= ruleRootLayout ) )*
            loop2:
            do {
                int alt2=2;
                int LA2_0 = input.LA(1);

                if ( (LA2_0==12||LA2_0==15||(LA2_0>=18 && LA2_0<=19)||LA2_0==34) ) {
                    alt2=1;
                }


                switch (alt2) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:122:1: (lv_rootLayout_3_0= ruleRootLayout )
            	    {
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:122:1: (lv_rootLayout_3_0= ruleRootLayout )
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:123:3: lv_rootLayout_3_0= ruleRootLayout
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getAndroGuiModelRootAccess().getRootLayoutRootLayoutParserRuleCall_3_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleRootLayout_in_ruleAndroGuiModelRoot186);
            	    lv_rootLayout_3_0=ruleRootLayout();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getAndroGuiModelRootRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"rootLayout",
            	            		lv_rootLayout_3_0, 
            	            		"RootLayout");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop2;
                }
            } while (true);


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleAndroGuiModelRoot"


    // $ANTLR start "entryRuleUIElement"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:147:1: entryRuleUIElement returns [EObject current=null] : iv_ruleUIElement= ruleUIElement EOF ;
    public final EObject entryRuleUIElement() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleUIElement = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:148:2: (iv_ruleUIElement= ruleUIElement EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:149:2: iv_ruleUIElement= ruleUIElement EOF
            {
             newCompositeNode(grammarAccess.getUIElementRule()); 
            pushFollow(FOLLOW_ruleUIElement_in_entryRuleUIElement223);
            iv_ruleUIElement=ruleUIElement();

            state._fsp--;

             current =iv_ruleUIElement; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleUIElement233); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleUIElement"


    // $ANTLR start "ruleUIElement"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:156:1: ruleUIElement returns [EObject current=null] : (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout ) ;
    public final EObject ruleUIElement() throws RecognitionException {
        EObject current = null;

        EObject this_Widget_0 = null;

        EObject this_Layout_1 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:159:28: ( (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:160:1: (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:160:1: (this_Widget_0= ruleWidget | this_Layout_1= ruleLayout )
            int alt3=2;
            int LA3_0 = input.LA(1);

            if ( ((LA3_0>=20 && LA3_0<=23)||(LA3_0>=26 && LA3_0<=30)) ) {
                alt3=1;
            }
            else if ( (LA3_0==12||LA3_0==15||(LA3_0>=18 && LA3_0<=19)||LA3_0==34) ) {
                alt3=2;
            }
            else {
                NoViableAltException nvae =
                    new NoViableAltException("", 3, 0, input);

                throw nvae;
            }
            switch (alt3) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:161:5: this_Widget_0= ruleWidget
                    {
                     
                            newCompositeNode(grammarAccess.getUIElementAccess().getWidgetParserRuleCall_0()); 
                        
                    pushFollow(FOLLOW_ruleWidget_in_ruleUIElement280);
                    this_Widget_0=ruleWidget();

                    state._fsp--;

                     
                            current = this_Widget_0; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:171:5: this_Layout_1= ruleLayout
                    {
                     
                            newCompositeNode(grammarAccess.getUIElementAccess().getLayoutParserRuleCall_1()); 
                        
                    pushFollow(FOLLOW_ruleLayout_in_ruleUIElement307);
                    this_Layout_1=ruleLayout();

                    state._fsp--;

                     
                            current = this_Layout_1; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleUIElement"


    // $ANTLR start "entryRuleLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:187:1: entryRuleLayout returns [EObject current=null] : iv_ruleLayout= ruleLayout EOF ;
    public final EObject entryRuleLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleLayout = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:188:2: (iv_ruleLayout= ruleLayout EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:189:2: iv_ruleLayout= ruleLayout EOF
            {
             newCompositeNode(grammarAccess.getLayoutRule()); 
            pushFollow(FOLLOW_ruleLayout_in_entryRuleLayout342);
            iv_ruleLayout=ruleLayout();

            state._fsp--;

             current =iv_ruleLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleLayout352); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleLayout"


    // $ANTLR start "ruleLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:196:1: ruleLayout returns [EObject current=null] : this_RootLayout_0= ruleRootLayout ;
    public final EObject ruleLayout() throws RecognitionException {
        EObject current = null;

        EObject this_RootLayout_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:199:28: (this_RootLayout_0= ruleRootLayout )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:201:5: this_RootLayout_0= ruleRootLayout
            {
             
                    newCompositeNode(grammarAccess.getLayoutAccess().getRootLayoutParserRuleCall()); 
                
            pushFollow(FOLLOW_ruleRootLayout_in_ruleLayout398);
            this_RootLayout_0=ruleRootLayout();

            state._fsp--;

             
                    current = this_RootLayout_0; 
                    afterParserOrEnumRuleCall();
                

            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleLayout"


    // $ANTLR start "entryRuleRootLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:217:1: entryRuleRootLayout returns [EObject current=null] : iv_ruleRootLayout= ruleRootLayout EOF ;
    public final EObject entryRuleRootLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRootLayout = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:218:2: (iv_ruleRootLayout= ruleRootLayout EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:219:2: iv_ruleRootLayout= ruleRootLayout EOF
            {
             newCompositeNode(grammarAccess.getRootLayoutRule()); 
            pushFollow(FOLLOW_ruleRootLayout_in_entryRuleRootLayout432);
            iv_ruleRootLayout=ruleRootLayout();

            state._fsp--;

             current =iv_ruleRootLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRootLayout442); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRootLayout"


    // $ANTLR start "ruleRootLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:226:1: ruleRootLayout returns [EObject current=null] : (this_BaseLayout_0= ruleBaseLayout | this_PreferenceScreen_1= rulePreferenceScreen ) ;
    public final EObject ruleRootLayout() throws RecognitionException {
        EObject current = null;

        EObject this_BaseLayout_0 = null;

        EObject this_PreferenceScreen_1 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:229:28: ( (this_BaseLayout_0= ruleBaseLayout | this_PreferenceScreen_1= rulePreferenceScreen ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:230:1: (this_BaseLayout_0= ruleBaseLayout | this_PreferenceScreen_1= rulePreferenceScreen )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:230:1: (this_BaseLayout_0= ruleBaseLayout | this_PreferenceScreen_1= rulePreferenceScreen )
            int alt4=2;
            int LA4_0 = input.LA(1);

            if ( (LA4_0==12||LA4_0==15||(LA4_0>=18 && LA4_0<=19)) ) {
                alt4=1;
            }
            else if ( (LA4_0==34) ) {
                alt4=2;
            }
            else {
                NoViableAltException nvae =
                    new NoViableAltException("", 4, 0, input);

                throw nvae;
            }
            switch (alt4) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:231:5: this_BaseLayout_0= ruleBaseLayout
                    {
                     
                            newCompositeNode(grammarAccess.getRootLayoutAccess().getBaseLayoutParserRuleCall_0()); 
                        
                    pushFollow(FOLLOW_ruleBaseLayout_in_ruleRootLayout489);
                    this_BaseLayout_0=ruleBaseLayout();

                    state._fsp--;

                     
                            current = this_BaseLayout_0; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:241:5: this_PreferenceScreen_1= rulePreferenceScreen
                    {
                     
                            newCompositeNode(grammarAccess.getRootLayoutAccess().getPreferenceScreenParserRuleCall_1()); 
                        
                    pushFollow(FOLLOW_rulePreferenceScreen_in_ruleRootLayout516);
                    this_PreferenceScreen_1=rulePreferenceScreen();

                    state._fsp--;

                     
                            current = this_PreferenceScreen_1; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRootLayout"


    // $ANTLR start "entryRuleBaseLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:257:1: entryRuleBaseLayout returns [EObject current=null] : iv_ruleBaseLayout= ruleBaseLayout EOF ;
    public final EObject entryRuleBaseLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleBaseLayout = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:258:2: (iv_ruleBaseLayout= ruleBaseLayout EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:259:2: iv_ruleBaseLayout= ruleBaseLayout EOF
            {
             newCompositeNode(grammarAccess.getBaseLayoutRule()); 
            pushFollow(FOLLOW_ruleBaseLayout_in_entryRuleBaseLayout551);
            iv_ruleBaseLayout=ruleBaseLayout();

            state._fsp--;

             current =iv_ruleBaseLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleBaseLayout561); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleBaseLayout"


    // $ANTLR start "ruleBaseLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:266:1: ruleBaseLayout returns [EObject current=null] : (this_LinearLayout_0= ruleLinearLayout | this_AbsoluteLayout_1= ruleAbsoluteLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout ) ;
    public final EObject ruleBaseLayout() throws RecognitionException {
        EObject current = null;

        EObject this_LinearLayout_0 = null;

        EObject this_AbsoluteLayout_1 = null;

        EObject this_FrameLayout_2 = null;

        EObject this_RelativeLayout_3 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:269:28: ( (this_LinearLayout_0= ruleLinearLayout | this_AbsoluteLayout_1= ruleAbsoluteLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:270:1: (this_LinearLayout_0= ruleLinearLayout | this_AbsoluteLayout_1= ruleAbsoluteLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:270:1: (this_LinearLayout_0= ruleLinearLayout | this_AbsoluteLayout_1= ruleAbsoluteLayout | this_FrameLayout_2= ruleFrameLayout | this_RelativeLayout_3= ruleRelativeLayout )
            int alt5=4;
            switch ( input.LA(1) ) {
            case 15:
                {
                alt5=1;
                }
                break;
            case 12:
                {
                alt5=2;
                }
                break;
            case 18:
                {
                alt5=3;
                }
                break;
            case 19:
                {
                alt5=4;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("", 5, 0, input);

                throw nvae;
            }

            switch (alt5) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:271:5: this_LinearLayout_0= ruleLinearLayout
                    {
                     
                            newCompositeNode(grammarAccess.getBaseLayoutAccess().getLinearLayoutParserRuleCall_0()); 
                        
                    pushFollow(FOLLOW_ruleLinearLayout_in_ruleBaseLayout608);
                    this_LinearLayout_0=ruleLinearLayout();

                    state._fsp--;

                     
                            current = this_LinearLayout_0; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:281:5: this_AbsoluteLayout_1= ruleAbsoluteLayout
                    {
                     
                            newCompositeNode(grammarAccess.getBaseLayoutAccess().getAbsoluteLayoutParserRuleCall_1()); 
                        
                    pushFollow(FOLLOW_ruleAbsoluteLayout_in_ruleBaseLayout635);
                    this_AbsoluteLayout_1=ruleAbsoluteLayout();

                    state._fsp--;

                     
                            current = this_AbsoluteLayout_1; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:291:5: this_FrameLayout_2= ruleFrameLayout
                    {
                     
                            newCompositeNode(grammarAccess.getBaseLayoutAccess().getFrameLayoutParserRuleCall_2()); 
                        
                    pushFollow(FOLLOW_ruleFrameLayout_in_ruleBaseLayout662);
                    this_FrameLayout_2=ruleFrameLayout();

                    state._fsp--;

                     
                            current = this_FrameLayout_2; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:301:5: this_RelativeLayout_3= ruleRelativeLayout
                    {
                     
                            newCompositeNode(grammarAccess.getBaseLayoutAccess().getRelativeLayoutParserRuleCall_3()); 
                        
                    pushFollow(FOLLOW_ruleRelativeLayout_in_ruleBaseLayout689);
                    this_RelativeLayout_3=ruleRelativeLayout();

                    state._fsp--;

                     
                            current = this_RelativeLayout_3; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleBaseLayout"


    // $ANTLR start "entryRuleAbsoluteLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:317:1: entryRuleAbsoluteLayout returns [EObject current=null] : iv_ruleAbsoluteLayout= ruleAbsoluteLayout EOF ;
    public final EObject entryRuleAbsoluteLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleAbsoluteLayout = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:318:2: (iv_ruleAbsoluteLayout= ruleAbsoluteLayout EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:319:2: iv_ruleAbsoluteLayout= ruleAbsoluteLayout EOF
            {
             newCompositeNode(grammarAccess.getAbsoluteLayoutRule()); 
            pushFollow(FOLLOW_ruleAbsoluteLayout_in_entryRuleAbsoluteLayout724);
            iv_ruleAbsoluteLayout=ruleAbsoluteLayout();

            state._fsp--;

             current =iv_ruleAbsoluteLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleAbsoluteLayout734); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleAbsoluteLayout"


    // $ANTLR start "ruleAbsoluteLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:326:1: ruleAbsoluteLayout returns [EObject current=null] : (otherlv_0= 'absolutelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) ;
    public final EObject ruleAbsoluteLayout() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Enumerator lv_layoutStyle_2_0 = null;

        EObject lv_elements_4_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:329:28: ( (otherlv_0= 'absolutelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:330:1: (otherlv_0= 'absolutelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:330:1: (otherlv_0= 'absolutelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:330:3: otherlv_0= 'absolutelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}'
            {
            otherlv_0=(Token)match(input,12,FOLLOW_12_in_ruleAbsoluteLayout771); 

                	newLeafNode(otherlv_0, grammarAccess.getAbsoluteLayoutAccess().getAbsolutelayoutKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:334:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:335:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:335:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:336:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAbsoluteLayout788); 

            			newLeafNode(lv_name_1_0, grammarAccess.getAbsoluteLayoutAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getAbsoluteLayoutRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:352:2: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:353:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:353:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:354:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getAbsoluteLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleAbsoluteLayout814);
            lv_layoutStyle_2_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getAbsoluteLayoutRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_2_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleAbsoluteLayout826); 

                	newLeafNode(otherlv_3, grammarAccess.getAbsoluteLayoutAccess().getLeftCurlyBracketKeyword_3());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:374:1: ( (lv_elements_4_0= ruleUIElement ) )*
            loop6:
            do {
                int alt6=2;
                int LA6_0 = input.LA(1);

                if ( (LA6_0==12||LA6_0==15||(LA6_0>=18 && LA6_0<=23)||(LA6_0>=26 && LA6_0<=30)||LA6_0==34) ) {
                    alt6=1;
                }


                switch (alt6) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:375:1: (lv_elements_4_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:375:1: (lv_elements_4_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:376:3: lv_elements_4_0= ruleUIElement
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getAbsoluteLayoutAccess().getElementsUIElementParserRuleCall_4_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleAbsoluteLayout847);
            	    lv_elements_4_0=ruleUIElement();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getAbsoluteLayoutRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"elements",
            	            		lv_elements_4_0, 
            	            		"UIElement");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop6;
                }
            } while (true);

            otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleAbsoluteLayout860); 

                	newLeafNode(otherlv_5, grammarAccess.getAbsoluteLayoutAccess().getRightCurlyBracketKeyword_5());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleAbsoluteLayout"


    // $ANTLR start "entryRuleLinearLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:404:1: entryRuleLinearLayout returns [EObject current=null] : iv_ruleLinearLayout= ruleLinearLayout EOF ;
    public final EObject entryRuleLinearLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleLinearLayout = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:405:2: (iv_ruleLinearLayout= ruleLinearLayout EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:406:2: iv_ruleLinearLayout= ruleLinearLayout EOF
            {
             newCompositeNode(grammarAccess.getLinearLayoutRule()); 
            pushFollow(FOLLOW_ruleLinearLayout_in_entryRuleLinearLayout896);
            iv_ruleLinearLayout=ruleLinearLayout();

            state._fsp--;

             current =iv_ruleLinearLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleLinearLayout906); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleLinearLayout"


    // $ANTLR start "ruleLinearLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:413:1: ruleLinearLayout returns [EObject current=null] : (otherlv_0= 'linearlayout' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}' ) ;
    public final EObject ruleLinearLayout() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token lv_orientation_2_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Token otherlv_7=null;
        Enumerator lv_layoutStyle_4_0 = null;

        EObject lv_elements_6_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:416:28: ( (otherlv_0= 'linearlayout' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}' ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:417:1: (otherlv_0= 'linearlayout' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}' )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:417:1: (otherlv_0= 'linearlayout' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}' )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:417:3: otherlv_0= 'linearlayout' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_elements_6_0= ruleUIElement ) )* otherlv_7= '}'
            {
            otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleLinearLayout943); 

                	newLeafNode(otherlv_0, grammarAccess.getLinearLayoutAccess().getLinearlayoutKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:421:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:422:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:422:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:423:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLinearLayout960); 

            			newLeafNode(lv_name_1_0, grammarAccess.getLinearLayoutAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getLinearLayoutRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:439:2: ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )?
            int alt7=3;
            int LA7_0 = input.LA(1);

            if ( (LA7_0==16) ) {
                alt7=1;
            }
            else if ( (LA7_0==17) ) {
                alt7=2;
            }
            switch (alt7) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:439:3: ( (lv_orientation_2_0= 'horizontal' ) )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:439:3: ( (lv_orientation_2_0= 'horizontal' ) )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:440:1: (lv_orientation_2_0= 'horizontal' )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:440:1: (lv_orientation_2_0= 'horizontal' )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:441:3: lv_orientation_2_0= 'horizontal'
                    {
                    lv_orientation_2_0=(Token)match(input,16,FOLLOW_16_in_ruleLinearLayout984); 

                            newLeafNode(lv_orientation_2_0, grammarAccess.getLinearLayoutAccess().getOrientationHorizontalKeyword_2_0_0());
                        

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getLinearLayoutRule());
                    	        }
                           		setWithLastConsumed(current, "orientation", true, "horizontal");
                    	    

                    }


                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:455:7: otherlv_3= 'vertical'
                    {
                    otherlv_3=(Token)match(input,17,FOLLOW_17_in_ruleLinearLayout1015); 

                        	newLeafNode(otherlv_3, grammarAccess.getLinearLayoutAccess().getVerticalKeyword_2_1());
                        

                    }
                    break;

            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:459:3: ( (lv_layoutStyle_4_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:460:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:460:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:461:3: lv_layoutStyle_4_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getLinearLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleLinearLayout1038);
            lv_layoutStyle_4_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getLinearLayoutRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_4_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_5=(Token)match(input,13,FOLLOW_13_in_ruleLinearLayout1050); 

                	newLeafNode(otherlv_5, grammarAccess.getLinearLayoutAccess().getLeftCurlyBracketKeyword_4());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:481:1: ( (lv_elements_6_0= ruleUIElement ) )*
            loop8:
            do {
                int alt8=2;
                int LA8_0 = input.LA(1);

                if ( (LA8_0==12||LA8_0==15||(LA8_0>=18 && LA8_0<=23)||(LA8_0>=26 && LA8_0<=30)||LA8_0==34) ) {
                    alt8=1;
                }


                switch (alt8) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:482:1: (lv_elements_6_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:482:1: (lv_elements_6_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:483:3: lv_elements_6_0= ruleUIElement
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getLinearLayoutAccess().getElementsUIElementParserRuleCall_5_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleLinearLayout1071);
            	    lv_elements_6_0=ruleUIElement();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getLinearLayoutRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"elements",
            	            		lv_elements_6_0, 
            	            		"UIElement");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop8;
                }
            } while (true);

            otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleLinearLayout1084); 

                	newLeafNode(otherlv_7, grammarAccess.getLinearLayoutAccess().getRightCurlyBracketKeyword_6());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleLinearLayout"


    // $ANTLR start "entryRuleFrameLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:511:1: entryRuleFrameLayout returns [EObject current=null] : iv_ruleFrameLayout= ruleFrameLayout EOF ;
    public final EObject entryRuleFrameLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleFrameLayout = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:512:2: (iv_ruleFrameLayout= ruleFrameLayout EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:513:2: iv_ruleFrameLayout= ruleFrameLayout EOF
            {
             newCompositeNode(grammarAccess.getFrameLayoutRule()); 
            pushFollow(FOLLOW_ruleFrameLayout_in_entryRuleFrameLayout1120);
            iv_ruleFrameLayout=ruleFrameLayout();

            state._fsp--;

             current =iv_ruleFrameLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleFrameLayout1130); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleFrameLayout"


    // $ANTLR start "ruleFrameLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:520:1: ruleFrameLayout returns [EObject current=null] : (otherlv_0= 'framelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) ;
    public final EObject ruleFrameLayout() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Enumerator lv_layoutStyle_2_0 = null;

        EObject lv_elements_4_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:523:28: ( (otherlv_0= 'framelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:524:1: (otherlv_0= 'framelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:524:1: (otherlv_0= 'framelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:524:3: otherlv_0= 'framelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}'
            {
            otherlv_0=(Token)match(input,18,FOLLOW_18_in_ruleFrameLayout1167); 

                	newLeafNode(otherlv_0, grammarAccess.getFrameLayoutAccess().getFramelayoutKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:528:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:529:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:529:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:530:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFrameLayout1184); 

            			newLeafNode(lv_name_1_0, grammarAccess.getFrameLayoutAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getFrameLayoutRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:546:2: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:547:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:547:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:548:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getFrameLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleFrameLayout1210);
            lv_layoutStyle_2_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getFrameLayoutRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_2_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleFrameLayout1222); 

                	newLeafNode(otherlv_3, grammarAccess.getFrameLayoutAccess().getLeftCurlyBracketKeyword_3());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:568:1: ( (lv_elements_4_0= ruleUIElement ) )*
            loop9:
            do {
                int alt9=2;
                int LA9_0 = input.LA(1);

                if ( (LA9_0==12||LA9_0==15||(LA9_0>=18 && LA9_0<=23)||(LA9_0>=26 && LA9_0<=30)||LA9_0==34) ) {
                    alt9=1;
                }


                switch (alt9) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:569:1: (lv_elements_4_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:569:1: (lv_elements_4_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:570:3: lv_elements_4_0= ruleUIElement
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getFrameLayoutAccess().getElementsUIElementParserRuleCall_4_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleFrameLayout1243);
            	    lv_elements_4_0=ruleUIElement();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getFrameLayoutRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"elements",
            	            		lv_elements_4_0, 
            	            		"UIElement");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop9;
                }
            } while (true);

            otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleFrameLayout1256); 

                	newLeafNode(otherlv_5, grammarAccess.getFrameLayoutAccess().getRightCurlyBracketKeyword_5());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleFrameLayout"


    // $ANTLR start "entryRuleRelativeLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:598:1: entryRuleRelativeLayout returns [EObject current=null] : iv_ruleRelativeLayout= ruleRelativeLayout EOF ;
    public final EObject entryRuleRelativeLayout() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRelativeLayout = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:599:2: (iv_ruleRelativeLayout= ruleRelativeLayout EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:600:2: iv_ruleRelativeLayout= ruleRelativeLayout EOF
            {
             newCompositeNode(grammarAccess.getRelativeLayoutRule()); 
            pushFollow(FOLLOW_ruleRelativeLayout_in_entryRuleRelativeLayout1292);
            iv_ruleRelativeLayout=ruleRelativeLayout();

            state._fsp--;

             current =iv_ruleRelativeLayout; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRelativeLayout1302); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRelativeLayout"


    // $ANTLR start "ruleRelativeLayout"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:607:1: ruleRelativeLayout returns [EObject current=null] : (otherlv_0= 'relativelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) ;
    public final EObject ruleRelativeLayout() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Enumerator lv_layoutStyle_2_0 = null;

        EObject lv_elements_4_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:610:28: ( (otherlv_0= 'relativelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:611:1: (otherlv_0= 'relativelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:611:1: (otherlv_0= 'relativelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}' )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:611:3: otherlv_0= 'relativelayout' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' ( (lv_elements_4_0= ruleUIElement ) )* otherlv_5= '}'
            {
            otherlv_0=(Token)match(input,19,FOLLOW_19_in_ruleRelativeLayout1339); 

                	newLeafNode(otherlv_0, grammarAccess.getRelativeLayoutAccess().getRelativelayoutKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:615:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:616:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:616:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:617:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRelativeLayout1356); 

            			newLeafNode(lv_name_1_0, grammarAccess.getRelativeLayoutAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getRelativeLayoutRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:633:2: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:634:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:634:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:635:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getRelativeLayoutAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRelativeLayout1382);
            lv_layoutStyle_2_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getRelativeLayoutRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_2_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleRelativeLayout1394); 

                	newLeafNode(otherlv_3, grammarAccess.getRelativeLayoutAccess().getLeftCurlyBracketKeyword_3());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:655:1: ( (lv_elements_4_0= ruleUIElement ) )*
            loop10:
            do {
                int alt10=2;
                int LA10_0 = input.LA(1);

                if ( (LA10_0==12||LA10_0==15||(LA10_0>=18 && LA10_0<=23)||(LA10_0>=26 && LA10_0<=30)||LA10_0==34) ) {
                    alt10=1;
                }


                switch (alt10) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:656:1: (lv_elements_4_0= ruleUIElement )
            	    {
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:656:1: (lv_elements_4_0= ruleUIElement )
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:657:3: lv_elements_4_0= ruleUIElement
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getRelativeLayoutAccess().getElementsUIElementParserRuleCall_4_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleUIElement_in_ruleRelativeLayout1415);
            	    lv_elements_4_0=ruleUIElement();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getRelativeLayoutRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"elements",
            	            		lv_elements_4_0, 
            	            		"UIElement");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    break loop10;
                }
            } while (true);

            otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleRelativeLayout1428); 

                	newLeafNode(otherlv_5, grammarAccess.getRelativeLayoutAccess().getRightCurlyBracketKeyword_5());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRelativeLayout"


    // $ANTLR start "entryRuleWidget"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:685:1: entryRuleWidget returns [EObject current=null] : iv_ruleWidget= ruleWidget EOF ;
    public final EObject entryRuleWidget() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleWidget = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:686:2: (iv_ruleWidget= ruleWidget EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:687:2: iv_ruleWidget= ruleWidget EOF
            {
             newCompositeNode(grammarAccess.getWidgetRule()); 
            pushFollow(FOLLOW_ruleWidget_in_entryRuleWidget1464);
            iv_ruleWidget=ruleWidget();

            state._fsp--;

             current =iv_ruleWidget; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleWidget1474); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleWidget"


    // $ANTLR start "ruleWidget"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:694:1: ruleWidget returns [EObject current=null] : (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton ) ;
    public final EObject ruleWidget() throws RecognitionException {
        EObject current = null;

        EObject this_TextView_0 = null;

        EObject this_EditText_1 = null;

        EObject this_Button_2 = null;

        EObject this_ListView_3 = null;

        EObject this_Spinner_4 = null;

        EObject this_RadioGroup_5 = null;

        EObject this_CheckBox_6 = null;

        EObject this_RatingBar_7 = null;

        EObject this_ToggleButton_8 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:697:28: ( (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:698:1: (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:698:1: (this_TextView_0= ruleTextView | this_EditText_1= ruleEditText | this_Button_2= ruleButton | this_ListView_3= ruleListView | this_Spinner_4= ruleSpinner | this_RadioGroup_5= ruleRadioGroup | this_CheckBox_6= ruleCheckBox | this_RatingBar_7= ruleRatingBar | this_ToggleButton_8= ruleToggleButton )
            int alt11=9;
            switch ( input.LA(1) ) {
            case 20:
                {
                alt11=1;
                }
                break;
            case 21:
                {
                alt11=2;
                }
                break;
            case 22:
                {
                alt11=3;
                }
                break;
            case 23:
                {
                alt11=4;
                }
                break;
            case 26:
                {
                alt11=5;
                }
                break;
            case 28:
                {
                alt11=6;
                }
                break;
            case 27:
                {
                alt11=7;
                }
                break;
            case 29:
                {
                alt11=8;
                }
                break;
            case 30:
                {
                alt11=9;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("", 11, 0, input);

                throw nvae;
            }

            switch (alt11) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:699:5: this_TextView_0= ruleTextView
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getTextViewParserRuleCall_0()); 
                        
                    pushFollow(FOLLOW_ruleTextView_in_ruleWidget1521);
                    this_TextView_0=ruleTextView();

                    state._fsp--;

                     
                            current = this_TextView_0; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:709:5: this_EditText_1= ruleEditText
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getEditTextParserRuleCall_1()); 
                        
                    pushFollow(FOLLOW_ruleEditText_in_ruleWidget1548);
                    this_EditText_1=ruleEditText();

                    state._fsp--;

                     
                            current = this_EditText_1; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:719:5: this_Button_2= ruleButton
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getButtonParserRuleCall_2()); 
                        
                    pushFollow(FOLLOW_ruleButton_in_ruleWidget1575);
                    this_Button_2=ruleButton();

                    state._fsp--;

                     
                            current = this_Button_2; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:729:5: this_ListView_3= ruleListView
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getListViewParserRuleCall_3()); 
                        
                    pushFollow(FOLLOW_ruleListView_in_ruleWidget1602);
                    this_ListView_3=ruleListView();

                    state._fsp--;

                     
                            current = this_ListView_3; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 5 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:739:5: this_Spinner_4= ruleSpinner
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getSpinnerParserRuleCall_4()); 
                        
                    pushFollow(FOLLOW_ruleSpinner_in_ruleWidget1629);
                    this_Spinner_4=ruleSpinner();

                    state._fsp--;

                     
                            current = this_Spinner_4; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 6 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:749:5: this_RadioGroup_5= ruleRadioGroup
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getRadioGroupParserRuleCall_5()); 
                        
                    pushFollow(FOLLOW_ruleRadioGroup_in_ruleWidget1656);
                    this_RadioGroup_5=ruleRadioGroup();

                    state._fsp--;

                     
                            current = this_RadioGroup_5; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 7 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:759:5: this_CheckBox_6= ruleCheckBox
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getCheckBoxParserRuleCall_6()); 
                        
                    pushFollow(FOLLOW_ruleCheckBox_in_ruleWidget1683);
                    this_CheckBox_6=ruleCheckBox();

                    state._fsp--;

                     
                            current = this_CheckBox_6; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 8 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:769:5: this_RatingBar_7= ruleRatingBar
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getRatingBarParserRuleCall_7()); 
                        
                    pushFollow(FOLLOW_ruleRatingBar_in_ruleWidget1710);
                    this_RatingBar_7=ruleRatingBar();

                    state._fsp--;

                     
                            current = this_RatingBar_7; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;
                case 9 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:779:5: this_ToggleButton_8= ruleToggleButton
                    {
                     
                            newCompositeNode(grammarAccess.getWidgetAccess().getToggleButtonParserRuleCall_8()); 
                        
                    pushFollow(FOLLOW_ruleToggleButton_in_ruleWidget1737);
                    this_ToggleButton_8=ruleToggleButton();

                    state._fsp--;

                     
                            current = this_ToggleButton_8; 
                            afterParserOrEnumRuleCall();
                        

                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleWidget"


    // $ANTLR start "entryRuleTextView"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:795:1: entryRuleTextView returns [EObject current=null] : iv_ruleTextView= ruleTextView EOF ;
    public final EObject entryRuleTextView() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleTextView = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:796:2: (iv_ruleTextView= ruleTextView EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:797:2: iv_ruleTextView= ruleTextView EOF
            {
             newCompositeNode(grammarAccess.getTextViewRule()); 
            pushFollow(FOLLOW_ruleTextView_in_entryRuleTextView1772);
            iv_ruleTextView=ruleTextView();

            state._fsp--;

             current =iv_ruleTextView; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleTextView1782); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleTextView"


    // $ANTLR start "ruleTextView"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:804:1: ruleTextView returns [EObject current=null] : (otherlv_0= 'textview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleTextView() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:807:28: ( (otherlv_0= 'textview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:808:1: (otherlv_0= 'textview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:808:1: (otherlv_0= 'textview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:808:3: otherlv_0= 'textview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,20,FOLLOW_20_in_ruleTextView1819); 

                	newLeafNode(otherlv_0, grammarAccess.getTextViewAccess().getTextviewKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:812:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:813:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:813:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:814:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTextView1836); 

            			newLeafNode(lv_name_1_0, grammarAccess.getTextViewAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getTextViewRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:830:2: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:831:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:831:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:832:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTextView1858); 

            			newLeafNode(lv_text_2_0, grammarAccess.getTextViewAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getTextViewRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:848:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:849:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:849:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:850:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getTextViewAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleTextView1884);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getTextViewRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleTextView"


    // $ANTLR start "entryRuleEditText"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:874:1: entryRuleEditText returns [EObject current=null] : iv_ruleEditText= ruleEditText EOF ;
    public final EObject entryRuleEditText() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleEditText = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:875:2: (iv_ruleEditText= ruleEditText EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:876:2: iv_ruleEditText= ruleEditText EOF
            {
             newCompositeNode(grammarAccess.getEditTextRule()); 
            pushFollow(FOLLOW_ruleEditText_in_entryRuleEditText1920);
            iv_ruleEditText=ruleEditText();

            state._fsp--;

             current =iv_ruleEditText; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleEditText1930); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleEditText"


    // $ANTLR start "ruleEditText"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:883:1: ruleEditText returns [EObject current=null] : (otherlv_0= 'edittext' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleEditText() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:886:28: ( (otherlv_0= 'edittext' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:887:1: (otherlv_0= 'edittext' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:887:1: (otherlv_0= 'edittext' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:887:3: otherlv_0= 'edittext' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,21,FOLLOW_21_in_ruleEditText1967); 

                	newLeafNode(otherlv_0, grammarAccess.getEditTextAccess().getEdittextKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:891:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:892:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:892:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:893:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEditText1984); 

            			newLeafNode(lv_name_1_0, grammarAccess.getEditTextAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getEditTextRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:909:2: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:910:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:910:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:911:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEditText2006); 

            			newLeafNode(lv_text_2_0, grammarAccess.getEditTextAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getEditTextRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:927:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:928:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:928:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:929:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getEditTextAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleEditText2032);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getEditTextRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleEditText"


    // $ANTLR start "entryRuleButton"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:953:1: entryRuleButton returns [EObject current=null] : iv_ruleButton= ruleButton EOF ;
    public final EObject entryRuleButton() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleButton = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:954:2: (iv_ruleButton= ruleButton EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:955:2: iv_ruleButton= ruleButton EOF
            {
             newCompositeNode(grammarAccess.getButtonRule()); 
            pushFollow(FOLLOW_ruleButton_in_entryRuleButton2068);
            iv_ruleButton=ruleButton();

            state._fsp--;

             current =iv_ruleButton; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleButton2078); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleButton"


    // $ANTLR start "ruleButton"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:962:1: ruleButton returns [EObject current=null] : (otherlv_0= 'button' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleButton() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:965:28: ( (otherlv_0= 'button' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:966:1: (otherlv_0= 'button' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:966:1: (otherlv_0= 'button' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:966:3: otherlv_0= 'button' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleButton2115); 

                	newLeafNode(otherlv_0, grammarAccess.getButtonAccess().getButtonKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:970:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:971:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:971:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:972:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleButton2132); 

            			newLeafNode(lv_name_1_0, grammarAccess.getButtonAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:988:2: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:989:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:989:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:990:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleButton2154); 

            			newLeafNode(lv_text_2_0, grammarAccess.getButtonAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1006:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1007:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1007:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1008:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getButtonAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleButton2180);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getButtonRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleButton"


    // $ANTLR start "entryRuleListView"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1032:1: entryRuleListView returns [EObject current=null] : iv_ruleListView= ruleListView EOF ;
    public final EObject entryRuleListView() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleListView = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1033:2: (iv_ruleListView= ruleListView EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1034:2: iv_ruleListView= ruleListView EOF
            {
             newCompositeNode(grammarAccess.getListViewRule()); 
            pushFollow(FOLLOW_ruleListView_in_entryRuleListView2216);
            iv_ruleListView=ruleListView();

            state._fsp--;

             current =iv_ruleListView; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleListView2226); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleListView"


    // $ANTLR start "ruleListView"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1041:1: ruleListView returns [EObject current=null] : (otherlv_0= 'listview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( ( ruleQualifiedName ) ) )? (otherlv_6= 'listitem' ( ( ruleQualifiedName ) ) )? otherlv_8= '}' ) ;
    public final EObject ruleListView() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token otherlv_3=null;
        Token otherlv_4=null;
        Token otherlv_6=null;
        Token otherlv_8=null;
        Enumerator lv_layoutStyle_2_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1044:28: ( (otherlv_0= 'listview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( ( ruleQualifiedName ) ) )? (otherlv_6= 'listitem' ( ( ruleQualifiedName ) ) )? otherlv_8= '}' ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1045:1: (otherlv_0= 'listview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( ( ruleQualifiedName ) ) )? (otherlv_6= 'listitem' ( ( ruleQualifiedName ) ) )? otherlv_8= '}' )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1045:1: (otherlv_0= 'listview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( ( ruleQualifiedName ) ) )? (otherlv_6= 'listitem' ( ( ruleQualifiedName ) ) )? otherlv_8= '}' )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1045:3: otherlv_0= 'listview' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) otherlv_3= '{' (otherlv_4= 'entries' ( ( ruleQualifiedName ) ) )? (otherlv_6= 'listitem' ( ( ruleQualifiedName ) ) )? otherlv_8= '}'
            {
            otherlv_0=(Token)match(input,23,FOLLOW_23_in_ruleListView2263); 

                	newLeafNode(otherlv_0, grammarAccess.getListViewAccess().getListviewKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1049:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1050:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1050:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1051:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleListView2280); 

            			newLeafNode(lv_name_1_0, grammarAccess.getListViewAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getListViewRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1067:2: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1068:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1068:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1069:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getListViewAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleListView2306);
            lv_layoutStyle_2_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getListViewRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_2_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleListView2318); 

                	newLeafNode(otherlv_3, grammarAccess.getListViewAccess().getLeftCurlyBracketKeyword_3());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1089:1: (otherlv_4= 'entries' ( ( ruleQualifiedName ) ) )?
            int alt12=2;
            int LA12_0 = input.LA(1);

            if ( (LA12_0==24) ) {
                alt12=1;
            }
            switch (alt12) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1089:3: otherlv_4= 'entries' ( ( ruleQualifiedName ) )
                    {
                    otherlv_4=(Token)match(input,24,FOLLOW_24_in_ruleListView2331); 

                        	newLeafNode(otherlv_4, grammarAccess.getListViewAccess().getEntriesKeyword_4_0());
                        
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1093:1: ( ( ruleQualifiedName ) )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1094:1: ( ruleQualifiedName )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1094:1: ( ruleQualifiedName )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1095:3: ruleQualifiedName
                    {

                    			if (current==null) {
                    	            current = createModelElement(grammarAccess.getListViewRule());
                    	        }
                            
                     
                    	        newCompositeNode(grammarAccess.getListViewAccess().getEntriesArrayResourceCrossReference_4_1_0()); 
                    	    
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleListView2354);
                    ruleQualifiedName();

                    state._fsp--;

                     
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }


                    }
                    break;

            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1108:4: (otherlv_6= 'listitem' ( ( ruleQualifiedName ) ) )?
            int alt13=2;
            int LA13_0 = input.LA(1);

            if ( (LA13_0==25) ) {
                alt13=1;
            }
            switch (alt13) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1108:6: otherlv_6= 'listitem' ( ( ruleQualifiedName ) )
                    {
                    otherlv_6=(Token)match(input,25,FOLLOW_25_in_ruleListView2369); 

                        	newLeafNode(otherlv_6, grammarAccess.getListViewAccess().getListitemKeyword_5_0());
                        
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1112:1: ( ( ruleQualifiedName ) )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1113:1: ( ruleQualifiedName )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1113:1: ( ruleQualifiedName )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1114:3: ruleQualifiedName
                    {

                    			if (current==null) {
                    	            current = createModelElement(grammarAccess.getListViewRule());
                    	        }
                            
                     
                    	        newCompositeNode(grammarAccess.getListViewAccess().getLayoutLayoutCrossReference_5_1_0()); 
                    	    
                    pushFollow(FOLLOW_ruleQualifiedName_in_ruleListView2392);
                    ruleQualifiedName();

                    state._fsp--;

                     
                    	        afterParserOrEnumRuleCall();
                    	    

                    }


                    }


                    }
                    break;

            }

            otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleListView2406); 

                	newLeafNode(otherlv_8, grammarAccess.getListViewAccess().getRightCurlyBracketKeyword_6());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleListView"


    // $ANTLR start "entryRuleSpinner"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1139:1: entryRuleSpinner returns [EObject current=null] : iv_ruleSpinner= ruleSpinner EOF ;
    public final EObject entryRuleSpinner() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleSpinner = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1140:2: (iv_ruleSpinner= ruleSpinner EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1141:2: iv_ruleSpinner= ruleSpinner EOF
            {
             newCompositeNode(grammarAccess.getSpinnerRule()); 
            pushFollow(FOLLOW_ruleSpinner_in_entryRuleSpinner2442);
            iv_ruleSpinner=ruleSpinner();

            state._fsp--;

             current =iv_ruleSpinner; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleSpinner2452); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleSpinner"


    // $ANTLR start "ruleSpinner"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1148:1: ruleSpinner returns [EObject current=null] : (otherlv_0= 'spinner' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleSpinner() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Enumerator lv_layoutStyle_2_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1151:28: ( (otherlv_0= 'spinner' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1152:1: (otherlv_0= 'spinner' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1152:1: (otherlv_0= 'spinner' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1152:3: otherlv_0= 'spinner' ( (lv_name_1_0= RULE_ID ) ) ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,26,FOLLOW_26_in_ruleSpinner2489); 

                	newLeafNode(otherlv_0, grammarAccess.getSpinnerAccess().getSpinnerKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1156:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1157:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1157:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1158:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSpinner2506); 

            			newLeafNode(lv_name_1_0, grammarAccess.getSpinnerAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getSpinnerRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1174:2: ( (lv_layoutStyle_2_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1175:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1175:1: (lv_layoutStyle_2_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1176:3: lv_layoutStyle_2_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getSpinnerAccess().getLayoutStyleLayoutStyleEnumRuleCall_2_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleSpinner2532);
            lv_layoutStyle_2_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getSpinnerRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_2_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleSpinner"


    // $ANTLR start "entryRuleCheckBox"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1200:1: entryRuleCheckBox returns [EObject current=null] : iv_ruleCheckBox= ruleCheckBox EOF ;
    public final EObject entryRuleCheckBox() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleCheckBox = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1201:2: (iv_ruleCheckBox= ruleCheckBox EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1202:2: iv_ruleCheckBox= ruleCheckBox EOF
            {
             newCompositeNode(grammarAccess.getCheckBoxRule()); 
            pushFollow(FOLLOW_ruleCheckBox_in_entryRuleCheckBox2568);
            iv_ruleCheckBox=ruleCheckBox();

            state._fsp--;

             current =iv_ruleCheckBox; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleCheckBox2578); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleCheckBox"


    // $ANTLR start "ruleCheckBox"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1209:1: ruleCheckBox returns [EObject current=null] : (otherlv_0= 'checkbox' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( ( ruleQualifiedName ) ) ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleCheckBox() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_4_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1212:28: ( (otherlv_0= 'checkbox' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( ( ruleQualifiedName ) ) ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1213:1: (otherlv_0= 'checkbox' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( ( ruleQualifiedName ) ) ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1213:1: (otherlv_0= 'checkbox' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( ( ruleQualifiedName ) ) ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1213:3: otherlv_0= 'checkbox' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( ( ruleQualifiedName ) ) ( (lv_layoutStyle_4_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,27,FOLLOW_27_in_ruleCheckBox2615); 

                	newLeafNode(otherlv_0, grammarAccess.getCheckBoxAccess().getCheckboxKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1217:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1218:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1218:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1219:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCheckBox2632); 

            			newLeafNode(lv_name_1_0, grammarAccess.getCheckBoxAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getCheckBoxRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1235:2: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1236:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1236:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1237:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleCheckBox2654); 

            			newLeafNode(lv_text_2_0, grammarAccess.getCheckBoxAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getCheckBoxRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1253:2: ( ( ruleQualifiedName ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1254:1: ( ruleQualifiedName )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1254:1: ( ruleQualifiedName )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1255:3: ruleQualifiedName
            {

            			if (current==null) {
            	            current = createModelElement(grammarAccess.getCheckBoxRule());
            	        }
                    
             
            	        newCompositeNode(grammarAccess.getCheckBoxAccess().getEntriesArrayResourceCrossReference_3_0()); 
            	    
            pushFollow(FOLLOW_ruleQualifiedName_in_ruleCheckBox2682);
            ruleQualifiedName();

            state._fsp--;

             
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1268:2: ( (lv_layoutStyle_4_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1269:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1269:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1270:3: lv_layoutStyle_4_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getCheckBoxAccess().getLayoutStyleLayoutStyleEnumRuleCall_4_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleCheckBox2703);
            lv_layoutStyle_4_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getCheckBoxRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_4_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleCheckBox"


    // $ANTLR start "entryRuleRadioGroup"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1294:1: entryRuleRadioGroup returns [EObject current=null] : iv_ruleRadioGroup= ruleRadioGroup EOF ;
    public final EObject entryRuleRadioGroup() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRadioGroup = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1295:2: (iv_ruleRadioGroup= ruleRadioGroup EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1296:2: iv_ruleRadioGroup= ruleRadioGroup EOF
            {
             newCompositeNode(grammarAccess.getRadioGroupRule()); 
            pushFollow(FOLLOW_ruleRadioGroup_in_entryRuleRadioGroup2739);
            iv_ruleRadioGroup=ruleRadioGroup();

            state._fsp--;

             current =iv_ruleRadioGroup; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRadioGroup2749); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRadioGroup"


    // $ANTLR start "ruleRadioGroup"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1303:1: ruleRadioGroup returns [EObject current=null] : (otherlv_0= 'radiogroup' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}' ) ;
    public final EObject ruleRadioGroup() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token lv_orientation_2_0=null;
        Token otherlv_3=null;
        Token otherlv_5=null;
        Token otherlv_7=null;
        Enumerator lv_layoutStyle_4_0 = null;

        EObject lv_radiobuttons_6_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1306:28: ( (otherlv_0= 'radiogroup' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}' ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1307:1: (otherlv_0= 'radiogroup' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}' )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1307:1: (otherlv_0= 'radiogroup' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}' )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1307:3: otherlv_0= 'radiogroup' ( (lv_name_1_0= RULE_ID ) ) ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )? ( (lv_layoutStyle_4_0= ruleLayoutStyle ) ) otherlv_5= '{' ( (lv_radiobuttons_6_0= ruleRadioButton ) )+ otherlv_7= '}'
            {
            otherlv_0=(Token)match(input,28,FOLLOW_28_in_ruleRadioGroup2786); 

                	newLeafNode(otherlv_0, grammarAccess.getRadioGroupAccess().getRadiogroupKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1311:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1312:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1312:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1313:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRadioGroup2803); 

            			newLeafNode(lv_name_1_0, grammarAccess.getRadioGroupAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getRadioGroupRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1329:2: ( ( (lv_orientation_2_0= 'horizontal' ) ) | otherlv_3= 'vertical' )?
            int alt14=3;
            int LA14_0 = input.LA(1);

            if ( (LA14_0==16) ) {
                alt14=1;
            }
            else if ( (LA14_0==17) ) {
                alt14=2;
            }
            switch (alt14) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1329:3: ( (lv_orientation_2_0= 'horizontal' ) )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1329:3: ( (lv_orientation_2_0= 'horizontal' ) )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1330:1: (lv_orientation_2_0= 'horizontal' )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1330:1: (lv_orientation_2_0= 'horizontal' )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1331:3: lv_orientation_2_0= 'horizontal'
                    {
                    lv_orientation_2_0=(Token)match(input,16,FOLLOW_16_in_ruleRadioGroup2827); 

                            newLeafNode(lv_orientation_2_0, grammarAccess.getRadioGroupAccess().getOrientationHorizontalKeyword_2_0_0());
                        

                    	        if (current==null) {
                    	            current = createModelElement(grammarAccess.getRadioGroupRule());
                    	        }
                           		setWithLastConsumed(current, "orientation", true, "horizontal");
                    	    

                    }


                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1345:7: otherlv_3= 'vertical'
                    {
                    otherlv_3=(Token)match(input,17,FOLLOW_17_in_ruleRadioGroup2858); 

                        	newLeafNode(otherlv_3, grammarAccess.getRadioGroupAccess().getVerticalKeyword_2_1());
                        

                    }
                    break;

            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1349:3: ( (lv_layoutStyle_4_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1350:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1350:1: (lv_layoutStyle_4_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1351:3: lv_layoutStyle_4_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getRadioGroupAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRadioGroup2881);
            lv_layoutStyle_4_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getRadioGroupRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_4_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }

            otherlv_5=(Token)match(input,13,FOLLOW_13_in_ruleRadioGroup2893); 

                	newLeafNode(otherlv_5, grammarAccess.getRadioGroupAccess().getLeftCurlyBracketKeyword_4());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1371:1: ( (lv_radiobuttons_6_0= ruleRadioButton ) )+
            int cnt15=0;
            loop15:
            do {
                int alt15=2;
                int LA15_0 = input.LA(1);

                if ( (LA15_0==33) ) {
                    alt15=1;
                }


                switch (alt15) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1372:1: (lv_radiobuttons_6_0= ruleRadioButton )
            	    {
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1372:1: (lv_radiobuttons_6_0= ruleRadioButton )
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1373:3: lv_radiobuttons_6_0= ruleRadioButton
            	    {
            	     
            	    	        newCompositeNode(grammarAccess.getRadioGroupAccess().getRadiobuttonsRadioButtonParserRuleCall_5_0()); 
            	    	    
            	    pushFollow(FOLLOW_ruleRadioButton_in_ruleRadioGroup2914);
            	    lv_radiobuttons_6_0=ruleRadioButton();

            	    state._fsp--;


            	    	        if (current==null) {
            	    	            current = createModelElementForParent(grammarAccess.getRadioGroupRule());
            	    	        }
            	           		add(
            	           			current, 
            	           			"radiobuttons",
            	            		lv_radiobuttons_6_0, 
            	            		"RadioButton");
            	    	        afterParserOrEnumRuleCall();
            	    	    

            	    }


            	    }
            	    break;

            	default :
            	    if ( cnt15 >= 1 ) break loop15;
                        EarlyExitException eee =
                            new EarlyExitException(15, input);
                        throw eee;
                }
                cnt15++;
            } while (true);

            otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleRadioGroup2927); 

                	newLeafNode(otherlv_7, grammarAccess.getRadioGroupAccess().getRightCurlyBracketKeyword_6());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRadioGroup"


    // $ANTLR start "entryRuleRatingBar"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1401:1: entryRuleRatingBar returns [EObject current=null] : iv_ruleRatingBar= ruleRatingBar EOF ;
    public final EObject entryRuleRatingBar() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRatingBar = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1402:2: (iv_ruleRatingBar= ruleRatingBar EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1403:2: iv_ruleRatingBar= ruleRatingBar EOF
            {
             newCompositeNode(grammarAccess.getRatingBarRule()); 
            pushFollow(FOLLOW_ruleRatingBar_in_entryRuleRatingBar2963);
            iv_ruleRatingBar=ruleRatingBar();

            state._fsp--;

             current =iv_ruleRatingBar; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRatingBar2973); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRatingBar"


    // $ANTLR start "ruleRatingBar"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1410:1: ruleRatingBar returns [EObject current=null] : (otherlv_0= 'ratingbar' ( (lv_name_1_0= RULE_ID ) ) ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleRatingBar() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token lv_numStars_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1413:28: ( (otherlv_0= 'ratingbar' ( (lv_name_1_0= RULE_ID ) ) ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1414:1: (otherlv_0= 'ratingbar' ( (lv_name_1_0= RULE_ID ) ) ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1414:1: (otherlv_0= 'ratingbar' ( (lv_name_1_0= RULE_ID ) ) ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1414:3: otherlv_0= 'ratingbar' ( (lv_name_1_0= RULE_ID ) ) ( (lv_numStars_2_0= RULE_INT ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleRatingBar3010); 

                	newLeafNode(otherlv_0, grammarAccess.getRatingBarAccess().getRatingbarKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1418:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1419:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1419:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1420:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRatingBar3027); 

            			newLeafNode(lv_name_1_0, grammarAccess.getRatingBarAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getRatingBarRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1436:2: ( (lv_numStars_2_0= RULE_INT ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1437:1: (lv_numStars_2_0= RULE_INT )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1437:1: (lv_numStars_2_0= RULE_INT )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1438:3: lv_numStars_2_0= RULE_INT
            {
            lv_numStars_2_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleRatingBar3049); 

            			newLeafNode(lv_numStars_2_0, grammarAccess.getRatingBarAccess().getNumStarsINTTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getRatingBarRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"numStars",
                    		lv_numStars_2_0, 
                    		"INT");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1454:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1455:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1455:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1456:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getRatingBarAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRatingBar3075);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getRatingBarRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRatingBar"


    // $ANTLR start "entryRuleToggleButton"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1480:1: entryRuleToggleButton returns [EObject current=null] : iv_ruleToggleButton= ruleToggleButton EOF ;
    public final EObject entryRuleToggleButton() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleToggleButton = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1481:2: (iv_ruleToggleButton= ruleToggleButton EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1482:2: iv_ruleToggleButton= ruleToggleButton EOF
            {
             newCompositeNode(grammarAccess.getToggleButtonRule()); 
            pushFollow(FOLLOW_ruleToggleButton_in_entryRuleToggleButton3111);
            iv_ruleToggleButton=ruleToggleButton();

            state._fsp--;

             current =iv_ruleToggleButton; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleToggleButton3121); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleToggleButton"


    // $ANTLR start "ruleToggleButton"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1489:1: ruleToggleButton returns [EObject current=null] : (otherlv_0= 'togglebutton' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleToggleButton() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token otherlv_2=null;
        Token lv_textOn_3_0=null;
        Token otherlv_4=null;
        Token lv_textOff_5_0=null;
        Enumerator lv_layoutStyle_6_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1492:28: ( (otherlv_0= 'togglebutton' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1493:1: (otherlv_0= 'togglebutton' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1493:1: (otherlv_0= 'togglebutton' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1493:3: otherlv_0= 'togglebutton' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= 'textOn' ( (lv_textOn_3_0= RULE_STRING ) ) otherlv_4= 'textOff' ( (lv_textOff_5_0= RULE_STRING ) ) ( (lv_layoutStyle_6_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleToggleButton3158); 

                	newLeafNode(otherlv_0, grammarAccess.getToggleButtonAccess().getTogglebuttonKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1497:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1498:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1498:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1499:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleToggleButton3175); 

            			newLeafNode(lv_name_1_0, grammarAccess.getToggleButtonAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getToggleButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleToggleButton3192); 

                	newLeafNode(otherlv_2, grammarAccess.getToggleButtonAccess().getTextOnKeyword_2());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1519:1: ( (lv_textOn_3_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1520:1: (lv_textOn_3_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1520:1: (lv_textOn_3_0= RULE_STRING )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1521:3: lv_textOn_3_0= RULE_STRING
            {
            lv_textOn_3_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleToggleButton3209); 

            			newLeafNode(lv_textOn_3_0, grammarAccess.getToggleButtonAccess().getTextOnSTRINGTerminalRuleCall_3_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getToggleButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"textOn",
                    		lv_textOn_3_0, 
                    		"STRING");
            	    

            }


            }

            otherlv_4=(Token)match(input,32,FOLLOW_32_in_ruleToggleButton3226); 

                	newLeafNode(otherlv_4, grammarAccess.getToggleButtonAccess().getTextOffKeyword_4());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1541:1: ( (lv_textOff_5_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1542:1: (lv_textOff_5_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1542:1: (lv_textOff_5_0= RULE_STRING )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1543:3: lv_textOff_5_0= RULE_STRING
            {
            lv_textOff_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleToggleButton3243); 

            			newLeafNode(lv_textOff_5_0, grammarAccess.getToggleButtonAccess().getTextOffSTRINGTerminalRuleCall_5_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getToggleButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"textOff",
                    		lv_textOff_5_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1559:2: ( (lv_layoutStyle_6_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1560:1: (lv_layoutStyle_6_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1560:1: (lv_layoutStyle_6_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1561:3: lv_layoutStyle_6_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getToggleButtonAccess().getLayoutStyleLayoutStyleEnumRuleCall_6_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleToggleButton3269);
            lv_layoutStyle_6_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getToggleButtonRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_6_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleToggleButton"


    // $ANTLR start "entryRuleRadioButton"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1585:1: entryRuleRadioButton returns [EObject current=null] : iv_ruleRadioButton= ruleRadioButton EOF ;
    public final EObject entryRuleRadioButton() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleRadioButton = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1586:2: (iv_ruleRadioButton= ruleRadioButton EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1587:2: iv_ruleRadioButton= ruleRadioButton EOF
            {
             newCompositeNode(grammarAccess.getRadioButtonRule()); 
            pushFollow(FOLLOW_ruleRadioButton_in_entryRuleRadioButton3305);
            iv_ruleRadioButton=ruleRadioButton();

            state._fsp--;

             current =iv_ruleRadioButton; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleRadioButton3315); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleRadioButton"


    // $ANTLR start "ruleRadioButton"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1594:1: ruleRadioButton returns [EObject current=null] : (otherlv_0= 'radiobutton' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) ;
    public final EObject ruleRadioButton() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token lv_text_2_0=null;
        Enumerator lv_layoutStyle_3_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1597:28: ( (otherlv_0= 'radiobutton' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1598:1: (otherlv_0= 'radiobutton' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1598:1: (otherlv_0= 'radiobutton' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1598:3: otherlv_0= 'radiobutton' ( (lv_name_1_0= RULE_ID ) ) ( (lv_text_2_0= RULE_STRING ) ) ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            {
            otherlv_0=(Token)match(input,33,FOLLOW_33_in_ruleRadioButton3352); 

                	newLeafNode(otherlv_0, grammarAccess.getRadioButtonAccess().getRadiobuttonKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1602:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1603:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1603:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1604:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRadioButton3369); 

            			newLeafNode(lv_name_1_0, grammarAccess.getRadioButtonAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getRadioButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1620:2: ( (lv_text_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1621:1: (lv_text_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1621:1: (lv_text_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1622:3: lv_text_2_0= RULE_STRING
            {
            lv_text_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleRadioButton3391); 

            			newLeafNode(lv_text_2_0, grammarAccess.getRadioButtonAccess().getTextSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getRadioButtonRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"text",
                    		lv_text_2_0, 
                    		"STRING");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1638:2: ( (lv_layoutStyle_3_0= ruleLayoutStyle ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1639:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1639:1: (lv_layoutStyle_3_0= ruleLayoutStyle )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1640:3: lv_layoutStyle_3_0= ruleLayoutStyle
            {
             
            	        newCompositeNode(grammarAccess.getRadioButtonAccess().getLayoutStyleLayoutStyleEnumRuleCall_3_0()); 
            	    
            pushFollow(FOLLOW_ruleLayoutStyle_in_ruleRadioButton3417);
            lv_layoutStyle_3_0=ruleLayoutStyle();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getRadioButtonRule());
            	        }
                   		set(
                   			current, 
                   			"layoutStyle",
                    		lv_layoutStyle_3_0, 
                    		"LayoutStyle");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleRadioButton"


    // $ANTLR start "entryRulePreferenceScreen"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1664:1: entryRulePreferenceScreen returns [EObject current=null] : iv_rulePreferenceScreen= rulePreferenceScreen EOF ;
    public final EObject entryRulePreferenceScreen() throws RecognitionException {
        EObject current = null;

        EObject iv_rulePreferenceScreen = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1665:2: (iv_rulePreferenceScreen= rulePreferenceScreen EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1666:2: iv_rulePreferenceScreen= rulePreferenceScreen EOF
            {
             newCompositeNode(grammarAccess.getPreferenceScreenRule()); 
            pushFollow(FOLLOW_rulePreferenceScreen_in_entryRulePreferenceScreen3453);
            iv_rulePreferenceScreen=rulePreferenceScreen();

            state._fsp--;

             current =iv_rulePreferenceScreen; 
            match(input,EOF,FOLLOW_EOF_in_entryRulePreferenceScreen3463); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRulePreferenceScreen"


    // $ANTLR start "rulePreferenceScreen"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1673:1: rulePreferenceScreen returns [EObject current=null] : (otherlv_0= 'preferencescreen' ( (lv_name_1_0= RULE_ID ) ) ( (lv_title_2_0= RULE_STRING ) ) otherlv_3= '{' otherlv_4= '}' ) ;
    public final EObject rulePreferenceScreen() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        Token lv_name_1_0=null;
        Token lv_title_2_0=null;
        Token otherlv_3=null;
        Token otherlv_4=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1676:28: ( (otherlv_0= 'preferencescreen' ( (lv_name_1_0= RULE_ID ) ) ( (lv_title_2_0= RULE_STRING ) ) otherlv_3= '{' otherlv_4= '}' ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1677:1: (otherlv_0= 'preferencescreen' ( (lv_name_1_0= RULE_ID ) ) ( (lv_title_2_0= RULE_STRING ) ) otherlv_3= '{' otherlv_4= '}' )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1677:1: (otherlv_0= 'preferencescreen' ( (lv_name_1_0= RULE_ID ) ) ( (lv_title_2_0= RULE_STRING ) ) otherlv_3= '{' otherlv_4= '}' )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1677:3: otherlv_0= 'preferencescreen' ( (lv_name_1_0= RULE_ID ) ) ( (lv_title_2_0= RULE_STRING ) ) otherlv_3= '{' otherlv_4= '}'
            {
            otherlv_0=(Token)match(input,34,FOLLOW_34_in_rulePreferenceScreen3500); 

                	newLeafNode(otherlv_0, grammarAccess.getPreferenceScreenAccess().getPreferencescreenKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1681:1: ( (lv_name_1_0= RULE_ID ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1682:1: (lv_name_1_0= RULE_ID )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1682:1: (lv_name_1_0= RULE_ID )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1683:3: lv_name_1_0= RULE_ID
            {
            lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePreferenceScreen3517); 

            			newLeafNode(lv_name_1_0, grammarAccess.getPreferenceScreenAccess().getNameIDTerminalRuleCall_1_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getPreferenceScreenRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"name",
                    		lv_name_1_0, 
                    		"ID");
            	    

            }


            }

            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1699:2: ( (lv_title_2_0= RULE_STRING ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1700:1: (lv_title_2_0= RULE_STRING )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1700:1: (lv_title_2_0= RULE_STRING )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1701:3: lv_title_2_0= RULE_STRING
            {
            lv_title_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rulePreferenceScreen3539); 

            			newLeafNode(lv_title_2_0, grammarAccess.getPreferenceScreenAccess().getTitleSTRINGTerminalRuleCall_2_0()); 
            		

            	        if (current==null) {
            	            current = createModelElement(grammarAccess.getPreferenceScreenRule());
            	        }
                   		setWithLastConsumed(
                   			current, 
                   			"title",
                    		lv_title_2_0, 
                    		"STRING");
            	    

            }


            }

            otherlv_3=(Token)match(input,13,FOLLOW_13_in_rulePreferenceScreen3556); 

                	newLeafNode(otherlv_3, grammarAccess.getPreferenceScreenAccess().getLeftCurlyBracketKeyword_3());
                
            otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePreferenceScreen3568); 

                	newLeafNode(otherlv_4, grammarAccess.getPreferenceScreenAccess().getRightCurlyBracketKeyword_4());
                

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "rulePreferenceScreen"


    // $ANTLR start "entryRuleImport"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1733:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
    public final EObject entryRuleImport() throws RecognitionException {
        EObject current = null;

        EObject iv_ruleImport = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1734:2: (iv_ruleImport= ruleImport EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1735:2: iv_ruleImport= ruleImport EOF
            {
             newCompositeNode(grammarAccess.getImportRule()); 
            pushFollow(FOLLOW_ruleImport_in_entryRuleImport3604);
            iv_ruleImport=ruleImport();

            state._fsp--;

             current =iv_ruleImport; 
            match(input,EOF,FOLLOW_EOF_in_entryRuleImport3614); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleImport"


    // $ANTLR start "ruleImport"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1742:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildCard ) ) ) ;
    public final EObject ruleImport() throws RecognitionException {
        EObject current = null;

        Token otherlv_0=null;
        AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1745:28: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildCard ) ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1746:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildCard ) ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1746:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildCard ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1746:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildCard ) )
            {
            otherlv_0=(Token)match(input,35,FOLLOW_35_in_ruleImport3651); 

                	newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1750:1: ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildCard ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1751:1: (lv_importedNamespace_1_0= ruleQualifiedNameWithWildCard )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1751:1: (lv_importedNamespace_1_0= ruleQualifiedNameWithWildCard )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1752:3: lv_importedNamespace_1_0= ruleQualifiedNameWithWildCard
            {
             
            	        newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceQualifiedNameWithWildCardParserRuleCall_1_0()); 
            	    
            pushFollow(FOLLOW_ruleQualifiedNameWithWildCard_in_ruleImport3672);
            lv_importedNamespace_1_0=ruleQualifiedNameWithWildCard();

            state._fsp--;


            	        if (current==null) {
            	            current = createModelElementForParent(grammarAccess.getImportRule());
            	        }
                   		set(
                   			current, 
                   			"importedNamespace",
                    		lv_importedNamespace_1_0, 
                    		"QualifiedNameWithWildCard");
            	        afterParserOrEnumRuleCall();
            	    

            }


            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleImport"


    // $ANTLR start "entryRuleQualifiedName"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1776:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
    public final String entryRuleQualifiedName() throws RecognitionException {
        String current = null;

        AntlrDatatypeRuleToken iv_ruleQualifiedName = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1777:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1778:2: iv_ruleQualifiedName= ruleQualifiedName EOF
            {
             newCompositeNode(grammarAccess.getQualifiedNameRule()); 
            pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName3709);
            iv_ruleQualifiedName=ruleQualifiedName();

            state._fsp--;

             current =iv_ruleQualifiedName.getText(); 
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName3720); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleQualifiedName"


    // $ANTLR start "ruleQualifiedName"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1785:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
    public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();

        Token this_ID_0=null;
        Token kw=null;
        Token this_ID_2=null;

         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1788:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1789:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1789:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1789:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
            {
            this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName3760); 

            		current.merge(this_ID_0);
                
             
                newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); 
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1796:1: (kw= '.' this_ID_2= RULE_ID )*
            loop16:
            do {
                int alt16=2;
                int LA16_0 = input.LA(1);

                if ( (LA16_0==36) ) {
                    alt16=1;
                }


                switch (alt16) {
            	case 1 :
            	    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1797:2: kw= '.' this_ID_2= RULE_ID
            	    {
            	    kw=(Token)match(input,36,FOLLOW_36_in_ruleQualifiedName3779); 

            	            current.merge(kw);
            	            newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); 
            	        
            	    this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName3794); 

            	    		current.merge(this_ID_2);
            	        
            	     
            	        newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); 
            	        

            	    }
            	    break;

            	default :
            	    break loop16;
                }
            } while (true);


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleQualifiedName"


    // $ANTLR start "entryRuleQualifiedNameWithWildCard"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1817:1: entryRuleQualifiedNameWithWildCard returns [String current=null] : iv_ruleQualifiedNameWithWildCard= ruleQualifiedNameWithWildCard EOF ;
    public final String entryRuleQualifiedNameWithWildCard() throws RecognitionException {
        String current = null;

        AntlrDatatypeRuleToken iv_ruleQualifiedNameWithWildCard = null;


        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1818:2: (iv_ruleQualifiedNameWithWildCard= ruleQualifiedNameWithWildCard EOF )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1819:2: iv_ruleQualifiedNameWithWildCard= ruleQualifiedNameWithWildCard EOF
            {
             newCompositeNode(grammarAccess.getQualifiedNameWithWildCardRule()); 
            pushFollow(FOLLOW_ruleQualifiedNameWithWildCard_in_entryRuleQualifiedNameWithWildCard3842);
            iv_ruleQualifiedNameWithWildCard=ruleQualifiedNameWithWildCard();

            state._fsp--;

             current =iv_ruleQualifiedNameWithWildCard.getText(); 
            match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedNameWithWildCard3853); 

            }

        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "entryRuleQualifiedNameWithWildCard"


    // $ANTLR start "ruleQualifiedNameWithWildCard"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1826:1: ruleQualifiedNameWithWildCard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.*' )? ) ;
    public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildCard() throws RecognitionException {
        AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();

        Token kw=null;
        AntlrDatatypeRuleToken this_QualifiedName_0 = null;


         enterRule(); 
            
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1829:28: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.*' )? ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1830:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.*' )? )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1830:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.*' )? )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1831:5: this_QualifiedName_0= ruleQualifiedName (kw= '.*' )?
            {
             
                    newCompositeNode(grammarAccess.getQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0()); 
                
            pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedNameWithWildCard3900);
            this_QualifiedName_0=ruleQualifiedName();

            state._fsp--;


            		current.merge(this_QualifiedName_0);
                
             
                    afterParserOrEnumRuleCall();
                
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1841:1: (kw= '.*' )?
            int alt17=2;
            int LA17_0 = input.LA(1);

            if ( (LA17_0==37) ) {
                alt17=1;
            }
            switch (alt17) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1842:2: kw= '.*'
                    {
                    kw=(Token)match(input,37,FOLLOW_37_in_ruleQualifiedNameWithWildCard3919); 

                            current.merge(kw);
                            newLeafNode(kw, grammarAccess.getQualifiedNameWithWildCardAccess().getFullStopAsteriskKeyword_1()); 
                        

                    }
                    break;

            }


            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleQualifiedNameWithWildCard"


    // $ANTLR start "ruleLayoutStyle"
    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1855:1: ruleLayoutStyle returns [Enumerator current=null] : ( (enumLiteral_0= 'fill' ) | (enumLiteral_1= 'wrap' ) | (enumLiteral_2= 'fill&wrap' ) | (enumLiteral_3= 'wrap&fill' ) ) ;
    public final Enumerator ruleLayoutStyle() throws RecognitionException {
        Enumerator current = null;

        Token enumLiteral_0=null;
        Token enumLiteral_1=null;
        Token enumLiteral_2=null;
        Token enumLiteral_3=null;

         enterRule(); 
        try {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1857:28: ( ( (enumLiteral_0= 'fill' ) | (enumLiteral_1= 'wrap' ) | (enumLiteral_2= 'fill&wrap' ) | (enumLiteral_3= 'wrap&fill' ) ) )
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1858:1: ( (enumLiteral_0= 'fill' ) | (enumLiteral_1= 'wrap' ) | (enumLiteral_2= 'fill&wrap' ) | (enumLiteral_3= 'wrap&fill' ) )
            {
            // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1858:1: ( (enumLiteral_0= 'fill' ) | (enumLiteral_1= 'wrap' ) | (enumLiteral_2= 'fill&wrap' ) | (enumLiteral_3= 'wrap&fill' ) )
            int alt18=4;
            switch ( input.LA(1) ) {
            case 38:
                {
                alt18=1;
                }
                break;
            case 39:
                {
                alt18=2;
                }
                break;
            case 40:
                {
                alt18=3;
                }
                break;
            case 41:
                {
                alt18=4;
                }
                break;
            default:
                NoViableAltException nvae =
                    new NoViableAltException("", 18, 0, input);

                throw nvae;
            }

            switch (alt18) {
                case 1 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1858:2: (enumLiteral_0= 'fill' )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1858:2: (enumLiteral_0= 'fill' )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1858:4: enumLiteral_0= 'fill'
                    {
                    enumLiteral_0=(Token)match(input,38,FOLLOW_38_in_ruleLayoutStyle3975); 

                            current = grammarAccess.getLayoutStyleAccess().getFILLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
                            newLeafNode(enumLiteral_0, grammarAccess.getLayoutStyleAccess().getFILLEnumLiteralDeclaration_0()); 
                        

                    }


                    }
                    break;
                case 2 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1864:6: (enumLiteral_1= 'wrap' )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1864:6: (enumLiteral_1= 'wrap' )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1864:8: enumLiteral_1= 'wrap'
                    {
                    enumLiteral_1=(Token)match(input,39,FOLLOW_39_in_ruleLayoutStyle3992); 

                            current = grammarAccess.getLayoutStyleAccess().getWRAPEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
                            newLeafNode(enumLiteral_1, grammarAccess.getLayoutStyleAccess().getWRAPEnumLiteralDeclaration_1()); 
                        

                    }


                    }
                    break;
                case 3 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1870:6: (enumLiteral_2= 'fill&wrap' )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1870:6: (enumLiteral_2= 'fill&wrap' )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1870:8: enumLiteral_2= 'fill&wrap'
                    {
                    enumLiteral_2=(Token)match(input,40,FOLLOW_40_in_ruleLayoutStyle4009); 

                            current = grammarAccess.getLayoutStyleAccess().getFILL_WRAPEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
                            newLeafNode(enumLiteral_2, grammarAccess.getLayoutStyleAccess().getFILL_WRAPEnumLiteralDeclaration_2()); 
                        

                    }


                    }
                    break;
                case 4 :
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1876:6: (enumLiteral_3= 'wrap&fill' )
                    {
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1876:6: (enumLiteral_3= 'wrap&fill' )
                    // ../hu.bme.mit.androtext.androgui/src-gen/hu/bme/mit/androtext/androgui/parser/antlr/internal/InternalAndroGuiDsl.g:1876:8: enumLiteral_3= 'wrap&fill'
                    {
                    enumLiteral_3=(Token)match(input,41,FOLLOW_41_in_ruleLayoutStyle4026); 

                            current = grammarAccess.getLayoutStyleAccess().getWRAP_FILLEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
                            newLeafNode(enumLiteral_3, grammarAccess.getLayoutStyleAccess().getWRAP_FILLEnumLiteralDeclaration_3()); 
                        

                    }


                    }
                    break;

            }


            }

             leaveRule(); 
        }
         
            catch (RecognitionException re) { 
                recover(input,re); 
                appendSkippedTokens();
            } 
        finally {
        }
        return current;
    }
    // $ANTLR end "ruleLayoutStyle"

    // Delegated rules


 

    public static final BitSet FOLLOW_ruleAndroGuiModelRoot_in_entryRuleAndroGuiModelRoot75 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleAndroGuiModelRoot85 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_11_in_ruleAndroGuiModelRoot122 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleAndroGuiModelRoot143 = new BitSet(new long[]{0x0000000C000C9002L});
    public static final BitSet FOLLOW_ruleImport_in_ruleAndroGuiModelRoot164 = new BitSet(new long[]{0x0000000C000C9002L});
    public static final BitSet FOLLOW_ruleRootLayout_in_ruleAndroGuiModelRoot186 = new BitSet(new long[]{0x00000004000C9002L});
    public static final BitSet FOLLOW_ruleUIElement_in_entryRuleUIElement223 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleUIElement233 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleWidget_in_ruleUIElement280 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLayout_in_ruleUIElement307 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLayout_in_entryRuleLayout342 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleLayout352 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRootLayout_in_ruleLayout398 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRootLayout_in_entryRuleRootLayout432 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRootLayout442 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleBaseLayout_in_ruleRootLayout489 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceScreen_in_ruleRootLayout516 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleBaseLayout_in_entryRuleBaseLayout551 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleBaseLayout561 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLinearLayout_in_ruleBaseLayout608 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleAbsoluteLayout_in_ruleBaseLayout635 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleFrameLayout_in_ruleBaseLayout662 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRelativeLayout_in_ruleBaseLayout689 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleAbsoluteLayout_in_entryRuleAbsoluteLayout724 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleAbsoluteLayout734 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_12_in_ruleAbsoluteLayout771 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleAbsoluteLayout788 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleAbsoluteLayout814 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleAbsoluteLayout826 = new BitSet(new long[]{0x000000047CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleAbsoluteLayout847 = new BitSet(new long[]{0x000000047CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleAbsoluteLayout860 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleLinearLayout_in_entryRuleLinearLayout896 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleLinearLayout906 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_15_in_ruleLinearLayout943 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleLinearLayout960 = new BitSet(new long[]{0x000003C000030000L});
    public static final BitSet FOLLOW_16_in_ruleLinearLayout984 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_17_in_ruleLinearLayout1015 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleLinearLayout1038 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleLinearLayout1050 = new BitSet(new long[]{0x000000047CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleLinearLayout1071 = new BitSet(new long[]{0x000000047CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleLinearLayout1084 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleFrameLayout_in_entryRuleFrameLayout1120 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleFrameLayout1130 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_18_in_ruleFrameLayout1167 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleFrameLayout1184 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleFrameLayout1210 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleFrameLayout1222 = new BitSet(new long[]{0x000000047CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleFrameLayout1243 = new BitSet(new long[]{0x000000047CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleFrameLayout1256 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRelativeLayout_in_entryRuleRelativeLayout1292 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRelativeLayout1302 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_19_in_ruleRelativeLayout1339 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRelativeLayout1356 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRelativeLayout1382 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleRelativeLayout1394 = new BitSet(new long[]{0x000000047CFCD000L});
    public static final BitSet FOLLOW_ruleUIElement_in_ruleRelativeLayout1415 = new BitSet(new long[]{0x000000047CFCD000L});
    public static final BitSet FOLLOW_14_in_ruleRelativeLayout1428 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleWidget_in_entryRuleWidget1464 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleWidget1474 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleTextView_in_ruleWidget1521 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditText_in_ruleWidget1548 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleButton_in_ruleWidget1575 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListView_in_ruleWidget1602 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleSpinner_in_ruleWidget1629 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRadioGroup_in_ruleWidget1656 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBox_in_ruleWidget1683 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRatingBar_in_ruleWidget1710 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleToggleButton_in_ruleWidget1737 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleTextView_in_entryRuleTextView1772 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleTextView1782 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_20_in_ruleTextView1819 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleTextView1836 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleTextView1858 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleTextView1884 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleEditText_in_entryRuleEditText1920 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleEditText1930 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_21_in_ruleEditText1967 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleEditText1984 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleEditText2006 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleEditText2032 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleButton_in_entryRuleButton2068 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleButton2078 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_22_in_ruleButton2115 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleButton2132 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleButton2154 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleButton2180 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleListView_in_entryRuleListView2216 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleListView2226 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_23_in_ruleListView2263 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleListView2280 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleListView2306 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleListView2318 = new BitSet(new long[]{0x0000000003004000L});
    public static final BitSet FOLLOW_24_in_ruleListView2331 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleListView2354 = new BitSet(new long[]{0x0000000002004000L});
    public static final BitSet FOLLOW_25_in_ruleListView2369 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleListView2392 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_ruleListView2406 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleSpinner_in_entryRuleSpinner2442 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleSpinner2452 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_26_in_ruleSpinner2489 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleSpinner2506 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleSpinner2532 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleCheckBox_in_entryRuleCheckBox2568 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleCheckBox2578 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_27_in_ruleCheckBox2615 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleCheckBox2632 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleCheckBox2654 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleCheckBox2682 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleCheckBox2703 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRadioGroup_in_entryRuleRadioGroup2739 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRadioGroup2749 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_28_in_ruleRadioGroup2786 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRadioGroup2803 = new BitSet(new long[]{0x000003C000030000L});
    public static final BitSet FOLLOW_16_in_ruleRadioGroup2827 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_17_in_ruleRadioGroup2858 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRadioGroup2881 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_ruleRadioGroup2893 = new BitSet(new long[]{0x0000000200000000L});
    public static final BitSet FOLLOW_ruleRadioButton_in_ruleRadioGroup2914 = new BitSet(new long[]{0x0000000200004000L});
    public static final BitSet FOLLOW_14_in_ruleRadioGroup2927 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRatingBar_in_entryRuleRatingBar2963 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRatingBar2973 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_29_in_ruleRatingBar3010 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRatingBar3027 = new BitSet(new long[]{0x0000000000000040L});
    public static final BitSet FOLLOW_RULE_INT_in_ruleRatingBar3049 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRatingBar3075 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleToggleButton_in_entryRuleToggleButton3111 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleToggleButton3121 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_30_in_ruleToggleButton3158 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleToggleButton3175 = new BitSet(new long[]{0x0000000080000000L});
    public static final BitSet FOLLOW_31_in_ruleToggleButton3192 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleToggleButton3209 = new BitSet(new long[]{0x0000000100000000L});
    public static final BitSet FOLLOW_32_in_ruleToggleButton3226 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleToggleButton3243 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleToggleButton3269 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleRadioButton_in_entryRuleRadioButton3305 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleRadioButton3315 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_33_in_ruleRadioButton3352 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleRadioButton3369 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_ruleRadioButton3391 = new BitSet(new long[]{0x000003C000000000L});
    public static final BitSet FOLLOW_ruleLayoutStyle_in_ruleRadioButton3417 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_rulePreferenceScreen_in_entryRulePreferenceScreen3453 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRulePreferenceScreen3463 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_34_in_rulePreferenceScreen3500 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_rulePreferenceScreen3517 = new BitSet(new long[]{0x0000000000000020L});
    public static final BitSet FOLLOW_RULE_STRING_in_rulePreferenceScreen3539 = new BitSet(new long[]{0x0000000000002000L});
    public static final BitSet FOLLOW_13_in_rulePreferenceScreen3556 = new BitSet(new long[]{0x0000000000004000L});
    public static final BitSet FOLLOW_14_in_rulePreferenceScreen3568 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleImport_in_entryRuleImport3604 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleImport3614 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_35_in_ruleImport3651 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_ruleQualifiedNameWithWildCard_in_ruleImport3672 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName3709 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName3720 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName3760 = new BitSet(new long[]{0x0000001000000002L});
    public static final BitSet FOLLOW_36_in_ruleQualifiedName3779 = new BitSet(new long[]{0x0000000000000010L});
    public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName3794 = new BitSet(new long[]{0x0000001000000002L});
    public static final BitSet FOLLOW_ruleQualifiedNameWithWildCard_in_entryRuleQualifiedNameWithWildCard3842 = new BitSet(new long[]{0x0000000000000000L});
    public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNameWithWildCard3853 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedNameWithWildCard3900 = new BitSet(new long[]{0x0000002000000002L});
    public static final BitSet FOLLOW_37_in_ruleQualifiedNameWithWildCard3919 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_38_in_ruleLayoutStyle3975 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_39_in_ruleLayoutStyle3992 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_40_in_ruleLayoutStyle4009 = new BitSet(new long[]{0x0000000000000002L});
    public static final BitSet FOLLOW_41_in_ruleLayoutStyle4026 = new BitSet(new long[]{0x0000000000000002L});

}